package org.com.yz.dubbo.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import org.com.yz.dal.dao.mapper.MchAccntMapper;
import org.com.yz.dal.dao.model.MchAccnt;
import org.com.yz.dubbo.api.service.IMchAccntService;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;
import java.util.Map;

/**
 * @ClassName MchAccntServiceImpl
 * @Author wzc
 * @Date 2018/8/1 18:55
 **/
@Service(version = "1.0.0")
public class MchAccntServiceImpl implements IMchAccntService {

    @Autowired
    private MchAccntMapper mchAccntMapper;


    @Override
    public List<MchAccnt> selectMchAccnt(MchAccnt mchAccnt) {
        return mchAccntMapper.selectMchAccnt(mchAccnt);
    }


    @Override
    public void updateAccmount(MchAccnt mchAccnt) {
        mchAccntMapper.updateAccmount(mchAccnt);
    }


    @Override
    public List<Map<String, Object>> selectMoney(MchAccnt mchAccnt) {

        return mchAccntMapper.selectMoney(mchAccnt);
    }
}
